package top.houry.im.client.controller;

import cn.hutool.core.lang.Singleton;
import top.houry.im.client.event.ImClientUiLoginEvent;
import top.houry.im.ui.controller.ImUiLoginController;

public class ImClientLoginUiController {

    private static volatile ImUiLoginController instance;

    private ImClientLoginUiController() {
    }

    public static ImUiLoginController getInstance() {
        if (instance == null) {
            synchronized (Singleton.class) {
                if (instance == null) {
                    instance = new ImUiLoginController(new ImClientUiLoginEvent());
                }
            }
        }
        return instance;
    }


}
